package com.wsoft.bpm.node;

import cn.hutool.core.collection.CollUtil;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.TransformerException;

/**
 * 开始事件节点
 *
 * @Author zhonglj
 * @Date 2024-09-10 9:06
 */
@Getter
@Setter
@Accessors(chain = true)
public class StartEvent extends ActivityXml {
    private String id;
    private String name;
    private Boolean async;
    private String initiator;
    private String formKey;
    private Documentation documentation;
    private ExtensionElements extensionElements;
    private MessageEventDefinition messageEventDefinition;

    public StartEvent() {
        this.setTagName("startEvent");
        putXmlKey("async", "activiti:async");
        putXmlKey("initiator", "activiti:initiator");
        putXmlKey("formKey", "activiti:formKey");
    }

}
